<?php
/*
 * Tihs is for testing
 */

mysql_connect('localhost', 'savan', 'savan');
mysql_select_db('blog');

$com_des = mysql_query("desc comments");

echo '<form>';
while ($row = mysql_fetch_array($com_des)) {
    echo $row[0];
    
        ?> <input type="text" name="<?= $row[0] ?>" />  <?php
     
 echo '<br>';
    
}

echo '<input type="submit" value="Enter Data" />
    </form>';